package com.lesso.lpq.sunflower.pojo.dto;

import com.baomidou.mybatisplus.annotations.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalTime;
import java.util.Date;

/**
 * @ClassName : AttendRuleDTO
 * @Description :
 * @Author : 罗培棋
 * @Date: 2025-07-05 15:11
 */
@Data
public class AttendanceRuleDTO implements Serializable {
    private static final long serialVersionUID = 20250707L;

    private Long id;
    /**
     * 规则编码
     */
    private String ruleCode;

    /**
     * 规则名称
     */
    private String ruleName;

    /**
     * 上班时间
     */
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    private LocalTime workStartTime;

    /**
     * 下班时间
     */
    @JsonFormat(pattern = "HH:mm:ss", timezone = "GMT+8")
    private LocalTime workEndTime;

    /**
     * 迟到阈值（分钟）
     */
    private Integer lateThreshold;

    /**
     * 早退阈值（分钟）
     */
    private Integer earlyThreshold;

}
